﻿@{
    ViewBag.Title = "Index2";
    Layout = "~/Views/Shared/_ManufactureList.cshtml";
}
<script>
    $(function () {
        initControl();
        gridList();
    });
    function initControl() {
        var myLayout = $('#layout').layout({ resizeable: false });
        $('select').bindSelect();
        //来料单位名称
        $(".txt_FProductionTypeName").bindSelect({
            url: "/BaseData/ZSJ_B1_GH_SI/GetGridJson?isProduct=1",
            id: "UnitNO",
            text: "UnitNOShortName"
        });
        //领料单位名称
        $(".txt_FLCompanyName").bindSelect({
            url: "/BaseData/ZSJ_B1_GH_SI/GetGridJson?isProduct=1",
            id: "UnitNO",
            text: "UnitNOShortName"
        });
        //制造单位名称
        $(".txt_FProCompanyName").bindSelect({
            url: "/BaseData/ZSJ_B1_GH_SI/GetGridJson?isProduct=1",
            id: "UnitNO",
            text: "UnitNOShortName"
        });
        //显示台账日期
        var keyValue = $.request("keyValue");
        $.ajax({
            url: "/WareHouse/EnterWareHouse/GetInfoDocumentNum",
            data: { keyValue: keyValue },
            dataType: "json",
            async: false,
            success: function (data) {
                $("#form1").formSerialize(data);
                //var dataa =  data.Substring(0, 4);
                //alert("a");
                $(".txt_FAccountDate").val(data);
            }
        });
        //零件分类
        $(".txt_FTypeName").bindSelect({//FClassNO ='01'
            url: "/VBaseData/V_BUS_SJ_Dictionary/GetSJ_DictionaryEntity",
            id: "UseUnit",
            text: "FTypeName",
        });
    }
    function gridList() {
        var $gridList1 = $("#gridList1");
        $gridList1.dataGridForJson({
            url: "/VBaseData/V_CPK_A1_BB_StoProStockCata_RB/GetGridJson",
            height: $(window).height() - 180,
            colModel: [
                { label: '销售单位', name: 'FHappenComNO', width: 180, align: 'left', sortable: false },
                { label: '零件编号', name: 'FProductionNO', width: 160, align: 'left', sortable: false },
                { label: '零件名称', name: 'FProductionName', width: 180, align: 'left', sortable: false },
                { label: '销售数量', name: 'BYSL', width: 80, align: 'right', sortable: false },
                { label: '计划单价', name: 'JHDJ', width: 80, align: 'right', sortable: false },

                { label: '计划金额', name: 'BYJHJE', width: 80, align: 'right', sortable: false },
                { label: '销售单价', name: 'FHappenComNO', width: 80, align: 'left', sortable: false },
                { label: '销售金额', name: 'FHappenComName', width: 180, align: 'left', sortable: false },
                { label: '供货单位', name: 'FProCompanyName', width: 180, align: 'left', sortable: false },
                { label: '零件分类', name: 'FProductionTypeName', width: 100, align: 'left', sortable: false },
            ],
            pager: "#gridPager1",
            sortname: 'FProductionNO asc,FProCompanyNO desc',
        });

        var $gridList2 = $("#gridList2");
        $gridList2.dataGridForJson({
            url: "/VBaseData/V_CPK_44_MX_StoCPKListAcco_Mid_HZ/GetGridJson",
            height: $(window).height() - 120,
            colModel: [
            { label: '库房', name: 'IsUnit', width: 80, align: 'left' },
            { label: '期初数量', name: 'FQuantity_QC', width: 80, align: 'right' },
            { label: "期初金额(元)", name: "FQuantity_QCJE", width: 90, align: 'right' },
            { label: '调整金额(元)', name: 'FQuantity_TZJE', width: 90, align: 'right' },
            { label: '入库数量', name: 'FQuantity_RK', width: 80, align: 'right' },

            { label: '入库金额(元)', name: 'FQuantity_RKJE', width: 80, align: 'right' },
            { label: '出库数量', name: 'FQuantity_CK', width: 80, align: 'right' },
            { label: '出库金额(元)', name: 'FQuantity_CKJE', width: 80, align: 'right' },
            { label: '废品数量', name: 'FQuantity_FP', width: 80, align: 'right' },
            { label: '废品金额(元)', name: 'FQuantity_FPJE', width: 80, align: 'right' },

            { label: '返修数量', name: 'FQuantity_FX', width: 80, align: 'right' },
            { label: '返修金额(元)', name: 'FQuantity_FXJE', width: 80, align: 'right' },
            { label: '盘存数量', name: 'FQuantity_PC', width: 80, align: 'right' },
            { label: '盘存金额(元)', name: 'FQuantity_PCJE', width: 80, align: 'right' },
            { label: '结存数量', name: 'FQuantity_JC', width: 80, align: 'right' },

            { label: '结存金额(元)', name: 'FQuantity_JCJE', width: 90, align: 'right' },
            ],
            pager: "#gridPager2",
            sortname: 'FProductionNO asc',
            viewrecords: true,
            onSelectRow: function (rowId) {
                rowData = $gridList.jqGrid('getRowData', rowId);
                index = rowId;
                $.each(rowData, function (key, value) {
                    $("#txt" + key).val(value);
                });
            }
        });

        var $gridList3 = $("#gridList3");
        $gridList3.dataGridForJson({
            //    url: "/VBaseData/V_CPK_44_MX_StoCPKListAcco_Mid_MX/GetGridJson",
            url: "/VBaseData/V_CPK_44_MX_StoCPKListAcco_Mid_HZ/GetGridJson",
            height: $(window).height() - 200,
            colModel: [
            { label: '来料单位', name: 'FHappenComNO', width: 200, align: 'left', sortable: false },
            { label: '零件编号', name: 'FProductionNO', width: 140, align: 'left', sortable: false },
            { label: '零件名称', name: 'FProductionName', width: 220, align: 'left', sortable: false },
            { label: '入库数量', name: 'BYSL', width: 100, align: 'right', sortable: false },
            { label: '计划单价</br>(元)', name: 'JHDJ', width: 100, align: 'right', sortable: false },

            { label: '入库金额</br>(元)', name: 'BYJHJE', width: 100, align: 'right', sortable: false },
            { label: '制造单位', name: 'FProCompanyName', width: 220, align: 'left', sortable: false },
            { label: '零件分类', name: 'FProductionTypeName', width: 90, align: 'left', sortable: false },
            { label: ' ', name: ' ', width: 100, align: 'left', sortable: false },
            ],
            pager: "#gridPager3",
            sortname: 'FProductionNO asc',
            viewrecords: true,
            rownumWidth: 40,
            onSelectRow: function (rowId) {
                rowData = $gridList.jqGrid('getRowData', rowId);
                index = rowId;
                $.each(rowData, function (key, value) {
                    $("#txt" + key).val(value);
                });
            }
        });
        var $gridList4 = $("#gridList4");
        $gridList4.dataGridForJson({
            url: "/VBaseData/V_CPK_A1_BB_StoProStockCata_RB/GetGridJson",
            height: $(window).height() - 200,
            colModel: [
                { label: '销售单位', name: 'FHappenComNO', width: 180, align: 'left', sortable: false },
                { label: '零件编号', name: 'FProductionNO', width: 160, align: 'left', sortable: false },
                { label: '零件名称', name: 'FProductionName', width: 180, align: 'left', sortable: false },
                { label: '销售数量', name: 'BYSL', width: 80, align: 'right', sortable: false },
                { label: '计划单价</br>(元)', name: 'JHDJ', width: 80, align: 'right', sortable: false },

                { label: '计划金额</br>(元)', name: 'BYJHJE', width: 80, align: 'right', sortable: false },
                { label: '销售单价</br>(元)', name: 'FHappenComNO', width: 80, align: 'left', sortable: false },
                { label: '销售金额</br>(元)', name: 'FHappenComName', width: 80, align: 'left', sortable: false },
                { label: '制造单位', name: 'FProCompanyName', width: 180, align: 'left', sortable: false },
                { label: '零件分类', name: 'FProductionTypeName', width: 100, align: 'left', sortable: false },
                { label: ' ', name: ' ', width: 67, align: 'left', sortable: false },
            ],
            pager: "#gridPager4",
            sortname: 'FProductionNO asc,FProCompanyNO desc',
            viewrecords: true,
            rownumWidth: 40,
            onSelectRow: function (rowId) {
                rowData = $gridList.jqGrid('getRowData', rowId);
                index = rowId;
                $.each(rowData, function (key, value) {
                    $("#txt" + key).val(value);
                });
            }
        });
        var $gridList5 = $("#gridList5");
        $gridList5.dataGridForJson({
            url: "/VBaseData/V_CPK_44_MX_StoCPKListAcco_Mid_MX/GetGridJson",
            height: $(window).height() - 200,
            colModel: [
            { label: '制造单位', name: 'FProductionNO', width: 420, align: 'left', sortable: false },
            { label: '入库数量', name: 'FProductionName', width: 400, align: 'left', sortable: false },
            { label: '入库金额</br>(元)', name: 'FProductionTypeName', width: 300, align: 'left', sortable: false },
             { label: ' ', name: ' ', width: 160, align: 'left', sortable: false },
            ],
            pager: "#gridPager5",
            sortname: 'FProductionNO asc',
            viewrecords: true,
            rownumWidth: 40,
            onSelectRow: function (rowId) {
                rowData = $gridList.jqGrid('getRowData', rowId);
                index = rowId;
                $.each(rowData, function (key, value) {
                    $("#txt" + key).val(value);
                });
            }
        });


        var $gridList6 = $("#gridList6");
        $gridList6.dataGridForJson({
            url: "/VBaseData/V_CPK_44_MX_StoCPKListAcco_Mid_MX/GetGridJson",
            height: $(window).height() - 200,
            colModel: [
            { label: '领料单位', name: 'FProductionNO', width: 420, align: 'left', sortable: false },
            { label: '发出数量', name: 'FProductionName', width: 400, align: 'left', sortable: false },
            { label: '发出金额</br>(元)', name: 'FProductionTypeName', width: 300, align: 'left', sortable: false },
            { label: ' ', name: ' ', width: 160, align: 'left', sortable: false },
            ],
            pager: "#gridPager6",
            sortname: 'FProductionNO asc',
            viewrecords: true,
            rownumWidth: 40,
            onSelectRow: function (rowId) {
                rowData = $gridList.jqGrid('getRowData', rowId);
                index = rowId;
                $.each(rowData, function (key, value) {
                    $("#txt" + key).val(value);
                });
            }
        });
        var $gridList7 = $("#gridList7");
        $gridList7.dataGridForJson({
            url: "/VBaseData/V_CPK_44_MX_StoCPKListAcco_Mid_MX/GetGridJson",
            height: $(window).height() - 200,
            colModel: [
            { label: '来料单位', name: 'FHappenComNO', width: 200, align: 'left', sortable: false },
            { label: '零件编号', name: 'FProductionNO', width: 140, align: 'left', sortable: false },
            { label: '零件名称', name: 'FProductionName', width: 220, align: 'left', sortable: false },
            { label: '入库数量', name: 'BYSL', width: 100, align: 'right', sortable: false },
            { label: '计划单价</br>(元)', name: 'JHDJ', width: 100, align: 'right', sortable: false },

            { label: '入库金额</br>(元)', name: 'BYJHJE', width: 100, align: 'right', sortable: false },
            { label: '制造单位', name: 'FProCompanyName', width: 220, align: 'left', sortable: false },
            { label: '零件分类', name: 'FProductionTypeName', width: 90, align: 'left', sortable: false },
            { label: ' ', name: ' ', width: 100, align: 'left', sortable: false },
            ],
            pager: "#gridPager7",
            sortname: 'FProductionNO asc',
            viewrecords: true,
            rownumWidth: 40,
            onSelectRow: function (rowId) {
                rowData = $gridList.jqGrid('getRowData', rowId);
                index = rowId;
                $.each(rowData, function (key, value) {
                    $("#txt" + key).val(value);
                });
            }
        });
        var $gridList8 = $("#gridList8");//10冲压件成品库出库汇总明细表
        $gridList8.dataGridForJson({
            url: "/VBaseData/V_CPK_A1_BB_StoProStockCata_RB/GetGridJson",
            height: $(window).height() - 200,
            colModel: [
                { label: '销售单位', name: 'FHappenComNO', width: 180, align: 'left', sortable: false },
                { label: '零件编号', name: 'FProductionNO', width: 130, align: 'left', sortable: false },
                { label: '零件名称', name: 'FProductionName', width: 180, align: 'left', sortable: false },
                { label: '销售数量', name: 'BYSL', width: 80, align: 'right', sortable: false },
                { label: '计划单价</br>(元)', name: 'JHDJ', width: 80, align: 'right', sortable: false },

                { label: '计划金额</br>(元)', name: 'BYJHJE', width: 80, align: 'right', sortable: false },
                { label: '销售单价</br>(元)', name: 'FHappenComNO', width: 80, align: 'right', sortable: false },
                { label: '销售金额</br>(元)', name: 'FHappenComName', width: 180, align: 'right', sortable: false },
                { label: '制造单位', name: 'FProCompanyName', width: 180, align: 'left', sortable: false },
                { label: '零件分类', name: 'FProductionTypeName', width: 100, align: 'left', sortable: false },
            ],
            pager: "#gridPager8",
            sortname: 'FProductionNO asc,FProCompanyNO desc',
            rownumWidth: 40,
        });
        var $gridList9 = $("#gridList9");
        $gridList9.dataGridForJson({
            //  url: "/VBaseData/V_CPK_A1_BB_StoProStockCata_RB/GetGridJson",
            height: $(window).height() - 200,
            colModel: [
                { label: '生产单位', name: 'FHappenComNO', width: 250, align: 'left', sortable: false },
                { label: '生产单位名称', name: 'FHappenComName', width: 300, align: 'left', sortable: false },
                { label: '本月数量', name: 'BYSL', width: 180, align: 'right', sortable: false },
                { label: '本月计划金额</br>(元)', name: 'BYJHJE', width: 180, align: 'right', sortable: false },
                { label: '本月结算金额</br>(元)', name: 'BYJSJE', width: 180, align: 'right', sortable: false },
                { label: ' ', name: ' ', width: 200, align: 'left', sortable: false },
            ],
            pager: "#gridPager9",
            sortname: 'FHappenComNO asc',
            rownumWidth: 40,
        });
        var $gridList10 = $("#gridList10");
        $gridList10.dataGridForJson({
            url: "/VBaseData/V_CPK_A1_BB_StoProStockCata_RB/GetGridJson",
            height: $(window).height() - 200,
            colModel: [
                { label: '销售单位', name: 'FHappenComNO', width: 180, align: 'left', sortable: false },
                { label: '零件编号', name: 'FProductionNO', width: 160, align: 'left', sortable: false },
                { label: '零件名称', name: 'FProductionName', width: 180, align: 'left', sortable: false },
                { label: '销售数量', name: 'BYSL', width: 80, align: 'right', sortable: false },
                { label: '计划单价', name: 'JHDJ', width: 80, align: 'right', sortable: false },

                { label: '计划金额', name: 'BYJHJE', width: 80, align: 'right', sortable: false },
                { label: '销售单价', name: 'FHappenComNO', width: 80, align: 'left', sortable: false },
                { label: '销售金额', name: 'FHappenComName', width: 180, align: 'left', sortable: false },
                { label: '制造单位', name: 'FProCompanyName', width: 180, align: 'left', sortable: false },
                { label: '零件分类', name: 'FProductionTypeName', width: 100, align: 'left', sortable: false },
            ],
            pager: "#gridPager10",
            sortname: 'FProductionNO asc,FProCompanyNO desc',
        });
    }
</script>
<div class="layout" id="layout" style="height: 100%; width: 100%;">
    <div id="showTable" class="ui-layout-center ">
        <div style="padding:5px 5px;" class="line-table">
            <ul id="myTab" class="nav nav-tabs" style="">
                <li class="active"><a href="#InputDayInfoInfo" data-toggle="tab">入库日汇总</a></li>
                <li><a href="#OutDayInfoInfo" data-toggle="tab">出库日汇总</a></li>
                <li><a href="#InputStatisticsInfo" data-toggle="tab">入库统计</a></li>   @*5冲压件成品库入库统计表*@
                <li><a href="#SaleStatisticsInfo" data-toggle="tab">销售统计</a></li>
                <li><a href="#InputInfoInfo" data-toggle="tab">入库明细</a></li>

                <li><a href="#OutInfoInfo" data-toggle="tab">出库明细</a></li>
                <li><a href="#InputAllInfoInfo" data-toggle="tab">入库汇总</a></li>
                <li><a href="#OutAllInfoInfo" data-toggle="tab">出库汇总</a></li>
                <li><a href="#RecSendInfoInfo" data-toggle="tab">收发统计</a></li>
                <li><a href="#PriceInfoInfo" data-toggle="tab">价格调整</a></li>
            </ul>
            <div id="myTabContent" class="tab-content" style="margin-top:5px;">
                <div class="tab-pane fade in active" id="InputDayInfoInfo">
                    @*11冲压件成品库入库日汇总表*@
                    <div class="btn-group" style="margin-left:20px;">
                        零件编号<br />
                        <input id="FProductionNO" name="" placeholder="" type="text" class="form-control required" />
                        &nbsp;
                    </div>
                    <div class="btn-group">
                        零件名称<br />
                        <input id="FProductionName" name="" placeholder="" type="text" class="form-control required" />
                        &nbsp;
                    </div>
                    <div class="btn-group">
                        台账日期<br />
                        <input id="FAccountDate" name="" placeholder="" type="text" class="form-control required  input-width-80" onfocus="WdatePicker({ dateFmt: 'yyyyMM', isShowToday: false, isShowClear: false });" />
                        &nbsp;
                    </div>
                    <div class="btn-group">
                        <a id="btn_search" class="btn btn-primary center-block" onclick=""><span class="glyphicon glyphicon-search"></span> 查询</a>
                    </div>
                    <div class="btn-group" style="float:right;">
                        <a class="btn btn-primary center-block" onclick="$.reload()">  <span class="glyphicon glyphicon-refresh"> </span>&nbsp刷新</a>
                        <a class="btn btn-primary center-block" onclick="">            <span class="glyphicon glyphicon-refresh"> </span>&nbsp计算</a>
                        <a class="btn btn-primary center-block" onclick="btn_Excel()"> <span class="glyphicon glyphicon-download"></span>&nbsp导出</a>
                        <a class="btn btn-primary center-block" onclick="btn_Print()"> <span class="glyphicon glyphicon-print">   </span>&nbsp打印</a>
                    </div>
                    <div style="margin-top:5px;">
                        <table id="gridList1"></table>
                        <div id="gridPager1"></div>
                    </div>
                </div>
                <div class="tab-pane fade" id="OutDayInfoInfo">
                    @*12冲压件成品库出库日汇总表*@
                    <div class="btn-group" style="margin-top:0px;margin-left:20px;">
                        供货单位<br />
                        <select id="txt_FProCompanyNO" name="" class="form-control">
                            <option value="">==请选择==</option>
                        </select>
                        &nbsp;
                    </div>
                    <div class="btn-group" style="margin-top:0px;">
                        台账日期<br />
                        <input id="txt_FAccountDate" name="" placeholder="" type="text" class="form-control required input-width-80" onfocus="WdatePicker({ dateFmt: 'yyyyMM', isShowToday: false, isShowClear: false });" />
                        &nbsp;
                    </div>
                    <div class="btn-group" style="margin-top:12px;margin-left:10px;">
                        &nbsp;
                        <a id="" class="btn btn-primary center-block" onclick="btn_Search()"><span class="glyphicon glyphicon-search"></span>  &nbsp; 查询</a>
                    </div>

                    <div class="btn-group" style="float:right;margin-top:12px;">
                        <a class="btn btn-primary center-block" onclick="$.reload()">  <span class="glyphicon glyphicon-refresh"> </span>&nbsp刷新</a>
                        <a class="btn btn-primary center-block" onclick="btn_Excel()"> <span class="glyphicon glyphicon-download"></span>&nbsp导出</a>
                        <a class="btn btn-primary center-block" onclick="btn_Print()"> <span class="glyphicon glyphicon-print">   </span>&nbsp打印</a>
                    </div>
                    <div style="margin-top:5px;">
                    </div>
                    <table id="gridList2"></table>
                    <div id="gridPager2"></div>
                </div>
                <div class="tab-pane fade" id="InputStatisticsInfo">
                    @*入库统计*@
                    <div class="btn-group " style="margin-top:0px;margin-left:20px;">
                        <div class=" input-width-185">
                            来料单位<br />
                            <select class="txt_FProductionTypeName" id="txt_FProductionTypeName3" name="">
                                <option value="">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group" style="margin-top:0px;">
                        零件编号<br />
                        <input id="txt_FProductionNO" name="" placeholder="" type="text" class="form-control required input-width-105" />
                        &nbsp;
                    </div>
                    <div class="btn-group" style="margin-top:0px;">
                        零件名称<br />
                        <input id="txt_FProductionName" name="" placeholder="" type="text" class="form-control required input-width-140" />
                        &nbsp;
                    </div>
                    <div class="btn-group " style="margin-top:0px;">
                        <div class=" input-width-185">
                            制造单位<br />
                            <select class="txt_FProCompanyName" id="txt_FProCompanyName3" name="">
                                <option value="">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group " style="margin-top:0px; ">
                        <div class=" input-width-105">
                            零件分类<br />
                            <select class="txt_FTypeName" id="txt_FTypeName3" name="">
                                <option value="" style="width:80px;">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group" style="margin-top:12px;margin-left:10px;">
                        &nbsp;
                        <a id="" class="btn btn-primary center-block" onclick="btn_Search()"><span class="glyphicon glyphicon-search"></span>  &nbsp; 查询</a>
                    </div>
                    <div class="btn-group" style="float:right;margin-top:12px;">
                        <a class="btn btn-primary center-block" onclick="$.reload()">  <span class="glyphicon glyphicon-refresh"> </span>&nbsp刷新</a>
                        <a class="btn btn-primary center-block" onclick="btn_Print()"> <span class="glyphicon glyphicon-print">   </span>&nbsp打印</a>
                        <a class="btn btn-primary center-block" onclick="btn_Excel()"> <span class="glyphicon glyphicon-download"></span>&nbsp导出</a>

                    </div>
                    <div style="margin-top:5px;">
                        <table id="gridList3"></table>
                        <div id="gridPager3"></div>
                    </div>
                </div>
                <div class="tab-pane fade" id="SaleStatisticsInfo">
                    @*销售统计*@
                    <div class="btn-group " style="margin-top:0px;margin-left:20px;">
                        <div class=" input-width-185">
                            销售单位<br />
                            <select class="txt_FProductionTypeName" id="txt_FProductionTypeName4" name="">
                                <option value="">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group" style="margin-top:0px;">
                        零件编号<br />
                        <input id="txt_FProductionNO" name="" placeholder="" type="text" class="form-control required input-width-105" />
                        &nbsp;
                    </div>
                    <div class="btn-group" style="margin-top:0px;">
                        零件名称<br />
                        <input id="txt_FProductionName" name="" placeholder="" type="text" class="form-control required input-width-140" />
                        &nbsp;
                    </div>
                    <div class="btn-group " style="margin-top:0px;">
                        <div class=" input-width-185">
                            制造单位<br />
                            <select class="txt_FProCompanyName" id="txt_FProCompanyName4" name="">
                                <option value="">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group " style="margin-top:0px; ">
                        <div class=" input-width-105">
                            零件分类<br />
                            <select class="txt_FTypeName" id="txt_FTypeName4" name="">
                                <option value="" style="width:80px;">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group" style="margin-top:12px;margin-left:10px;">
                        &nbsp;
                        <a id="" class="btn btn-primary center-block" onclick="btn_Search()"><span class="glyphicon glyphicon-search"></span>  &nbsp; 查询</a>
                    </div>
                    <div class="btn-group" style="float:right;margin-top:12px;">
                        <a class="btn btn-primary center-block" onclick="$.reload()">  <span class="glyphicon glyphicon-refresh"> </span>&nbsp刷新</a>
                        <a class="btn btn-primary center-block" onclick="btn_Print()"> <span class="glyphicon glyphicon-print">   </span>&nbsp打印</a>
                        <a class="btn btn-primary center-block" onclick="btn_Excel()"> <span class="glyphicon glyphicon-download"></span>&nbsp导出</a>

                    </div>
                    <div style="margin-top:5px;">
                        <table id="gridList4"></table>
                        <div id="gridPager4"></div>
                    </div>
                </div>
                <div class="tab-pane fade" id="InputInfoInfo">
                    <div class="btn-group " style="margin-top:0px;margin-left:20px;">
                        <div class=" input-width-185">
                            制造单位<br />
                            <select class="txt_FProCompanyName" id="txt_FProCompanyName5" name="">
                                <option value="">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group" style="margin-top:0px;">
                        台账日期<br />
                        <input id="txt_FAccountDate5" name="" placeholder="" type="text" class="form-control txt_FAccountDate required input-width-80" onfocus="WdatePicker({ dateFmt: 'yyyyMM', isShowToday: false, isShowClear: false });" />
                        &nbsp;
                    </div>
                    <div class="btn-group" style="margin-top:12px;margin-left:10px;">
                        &nbsp;
                        <a id="" class="btn btn-primary center-block" onclick="btn_Search()"><span class="glyphicon glyphicon-search"></span>  &nbsp; 查询</a>
                    </div>
                    <div class="btn-group" style="float:right;margin-top:12px;">
                        <a class="btn btn-primary center-block" onclick="$.reload()">  <span class="glyphicon glyphicon-refresh"> </span>&nbsp刷新</a>
                        <a class="btn btn-primary center-block" onclick="btn_Print()"> <span class="glyphicon glyphicon-print">   </span>&nbsp打印</a>
                        <a class="btn btn-primary center-block" onclick="btn_Excel()"> <span class="glyphicon glyphicon-download"></span>&nbsp导出</a>

                    </div>
                    <div style="margin-top:5px;">
                        <table id="gridList5"></table>
                        <div id="gridPager5"></div>
                    </div>
                </div>
                <div class="tab-pane fade" id="OutInfoInfo">
                    <div class="btn-group " style="margin-top:0px;margin-left:20px;">
                        <div class=" input-width-185">
                            领料单位<br />
                            <select class="txt_FLCompanyName" id="txt_FLCompanyName6" name="">
                                <option value="">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group" style="margin-top:0px;">
                        台账日期<br />
                        <input id="txt_FAccountDate6" name="" placeholder="" type="text" class="form-control txt_FAccountDate required input-width-80" onfocus="WdatePicker({ dateFmt: 'yyyyMM', isShowToday: false, isShowClear: false });" />
                        &nbsp;
                    </div>
                    <div class="btn-group" style="margin-top:12px;margin-left:10px;">
                        &nbsp;
                        <a id="" class="btn btn-primary center-block" onclick="btn_Search()"><span class="glyphicon glyphicon-search"></span>  &nbsp; 查询</a>
                    </div>
                    <div class="btn-group" style="float:right;margin-top:12px;">
                        <a class="btn btn-primary center-block" onclick="$.reload()">  <span class="glyphicon glyphicon-refresh"> </span>&nbsp刷新</a>
                        <a class="btn btn-primary center-block" onclick="btn_Print()"> <span class="glyphicon glyphicon-print">   </span>&nbsp打印</a>
                        <a class="btn btn-primary center-block" onclick="btn_Excel()"> <span class="glyphicon glyphicon-download"></span>&nbsp导出</a>

                    </div>
                    <div style="margin-top:5px;">
                        <table id="gridList6"></table>
                        <div id="gridPager6"></div>
                    </div>
                </div>
                <div id="InputAllInfoInfo" class="tab-pane fade">
                    <div class="btn-group " style="margin-top:0px;margin-left:20px;">
                        <div class=" input-width-185">
                            来料单位<br />
                            <select class="txt_FProductionTypeName" id="txt_FProductionTypeName7" name="">
                                <option value="">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group" style="margin-top:0px;">
                        零件编号<br />
                        <input id="txt_FProductionNO" name="" placeholder="" type="text" class="form-control required input-width-105" />
                        &nbsp;
                    </div>
                    <div class="btn-group" style="margin-top:0px;">
                        零件名称<br />
                        <input id="txt_FProductionName" name="" placeholder="" type="text" class="form-control required input-width-140" />
                        &nbsp;
                    </div>
                    <div class="btn-group " style="margin-top:0px;">
                        <div class=" input-width-185">
                            制造单位<br />
                            <select class="txt_FProCompanyName" id="txt_FProCompanyName7" name="">
                                <option value="">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group " style="margin-top:0px; ">
                        <div class=" input-width-105">
                            零件分类<br />
                            <select class="txt_FTypeName" id="txt_FTypeName7" name="">
                                <option value="" style="width:80px;">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group" style="margin-top:12px;margin-left:10px;">
                        &nbsp;
                        <a id="" class="btn btn-primary center-block" onclick="btn_Search()"><span class="glyphicon glyphicon-search"></span>  &nbsp; 查询</a>
                    </div>
                    <div class="btn-group" style="float:right;margin-top:12px;">
                        <a class="btn btn-primary center-block" onclick="$.reload()">  <span class="glyphicon glyphicon-refresh"> </span>&nbsp刷新</a>
                        <a class="btn btn-primary center-block" onclick=""> <span class="glyphicon glyphicon-download"></span>&nbsp计算</a>
                        <a class="btn btn-primary center-block" onclick="btn_Print()"> <span class="glyphicon glyphicon-print">   </span>&nbsp打印</a>
                        <a class="btn btn-primary center-block" onclick="btn_Excel()"> <span class="glyphicon glyphicon-download"></span>&nbsp导出</a>

                    </div>
                    <div style="margin-top:5px;">
                        <table id="gridList7"></table>
                        <div id="gridPager7"></div>
                    </div>
                </div>
                <div id="OutAllInfoInfo" class="tab-pane fade">
                    <div class="btn-group " style="margin-top:0px;margin-left:20px;">
                        <div class=" input-width-185">
                            销售单位<br />
                            <select class="txt_FProductionTypeName" id="txt_FProductionTypeName8" name="">
                                <option value="">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group" style="margin-top:0px;">
                        零件编号<br />
                        <input id="txt_FProductionNO" name="" placeholder="" type="text" class="form-control required input-width-105" />
                        &nbsp;
                    </div>
                    <div class="btn-group" style="margin-top:0px;">
                        零件名称<br />
                        <input id="txt_FProductionName" name="" placeholder="" type="text" class="form-control required input-width-140" />
                        &nbsp;
                    </div>
                    <div class="btn-group " style="margin-top:0px;">
                        <div class=" input-width-185">
                            制造单位<br />
                            <select class="txt_FProCompanyName" id="txt_FProCompanyName8" name="">
                                <option value="">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group " style="margin-top:0px; ">
                        <div class=" input-width-105">
                            零件分类<br />
                            <select class="txt_FTypeName" id="txt_FTypeName8" name="">
                                <option value="" style="width:80px;">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group" style="margin-top:0px;">
                        台账日期<br />
                        <input id="txt_FAccountDate8" name="" placeholder="" type="text" class="form-control txt_FAccountDate required input-width-80" onfocus="WdatePicker({ dateFmt: 'yyyyMM', isShowToday: false, isShowClear: false });" />
                        &nbsp;
                    </div>
                    <div class="btn-group" style="margin-top:12px;margin-left:10px;">
                        &nbsp;
                        <a id="" class="btn btn-primary center-block" onclick="btn_Search()"><span class="glyphicon glyphicon-search"></span>  &nbsp; 查询</a>
                    </div>

                    <div class="btn-group" style="float:right;margin-top:12px;">
                        <a class="btn btn-primary center-block" onclick="$.reload()">  <span class="glyphicon glyphicon-refresh"> </span>&nbsp刷新</a>
                        <a class="btn btn-primary center-block" onclick="btn_Excel()"> <span class="glyphicon glyphicon-download"></span>&nbsp导出</a>
                        <a class="btn btn-primary center-block" onclick="btn_Print()"> <span class="glyphicon glyphicon-print">   </span>&nbsp打印</a>
                    </div>
                    <div style="margin-top:5px;">
                        <table id="gridList8"></table>
                        <div id="gridPager8"></div>
                    </div>
                </div>
                <div id="RecSendInfoInfo" class="tab-pane fade">
                    <div class="btn-group " style="margin-top:0px;margin-left:20px;">
                        <div class=" input-width-185">
                            来料单位<br />
                            <select id="txt_FProductionTypeName" name="">
                                <option value="">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group " style="margin-top:0px;">
                        <div class=" input-width-185">
                            制造单位<br />
                            <select id="txt_FProductionTypeName2" name="">
                                <option value="">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group " style="margin-top:0px; ">
                        <div class=" input-width-105">
                            零件分类<br />
                            <select id="txt_FProductionTypeName" name="">
                                <option value="" style="width:80px;">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group" style="margin-top:0px;">
                        零件编号<br />
                        <input id="txt_FProductionNO" name="" placeholder="" type="text" class="form-control required input-width-105" />
                        &nbsp;
                    </div>
                    <div class="btn-group" style="margin-top:0px;">
                        零件名称<br />
                        <input id="txt_FProductionName" name="" placeholder="" type="text" class="form-control required input-width-105" />
                        &nbsp;
                    </div>
                    <div class="btn-group" style="margin-top:12px;margin-left:10px;">
                        &nbsp;
                        <a id="" class="btn btn-primary center-block" onclick="btn_Search()"><span class="glyphicon glyphicon-search"></span>  &nbsp; 查询</a>
                    </div>
                    <div class="btn-group" style="float:right;margin-top:12px;">
                        <a class="btn btn-primary center-block" onclick="$.reload()">  <span class="glyphicon glyphicon-refresh"> </span>&nbsp刷新</a>
                        <a class="btn btn-primary center-block" onclick="btn_Print()"> <span class="glyphicon glyphicon-print">   </span>&nbsp打印</a>
                        <a class="btn btn-primary center-block" onclick="btn_Excel()"> <span class="glyphicon glyphicon-download"></span>&nbsp导出</a>

                    </div>
                    <div style="margin-top:5px;">
                        <table id="gridList9"></table>
                        <div id="gridPager9"></div>
                    </div>
                </div>
                <div id="PriceInfoInfo" class="tab-pane fade">
                    <div class="btn-group " style="margin-top:0px;margin-left:20px;">
                        <div class=" input-width-185">
                            来料单位<br />
                            <select id="txt_FProductionTypeName" name="">
                                <option value="">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group " style="margin-top:0px;">
                        <div class=" input-width-185">
                            制造单位<br />
                            <select id="txt_FProductionTypeName2" name="">
                                <option value="">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group " style="margin-top:0px; ">
                        <div class=" input-width-105">
                            零件分类<br />
                            <select id="txt_FProductionTypeName" name="">
                                <option value="" style="width:80px;">==请选择==</option>
                            </select>
                            &nbsp;
                        </div>
                    </div>
                    <div class="btn-group" style="margin-top:0px;">
                        零件编号<br />
                        <input id="txt_FProductionNO" name="" placeholder="" type="text" class="form-control required input-width-105" />
                        &nbsp;
                    </div>
                    <div class="btn-group" style="margin-top:0px;">
                        零件名称<br />
                        <input id="txt_FProductionName" name="" placeholder="" type="text" class="form-control required input-width-105" />
                        &nbsp;
                    </div>
                    <div class="btn-group" style="margin-top:12px;margin-left:10px;">
                        &nbsp;
                        <a id="" class="btn btn-primary center-block" onclick="btn_Search()"><span class="glyphicon glyphicon-search"></span>  &nbsp; 查询</a>
                    </div>
                    <div class="btn-group" style="float:right;margin-top:12px;">
                        <a class="btn btn-primary center-block" onclick="$.reload()">  <span class="glyphicon glyphicon-refresh"> </span>&nbsp刷新</a>
                        <a class="btn btn-primary center-block" onclick="btn_Print()"> <span class="glyphicon glyphicon-print">   </span>&nbsp打印</a>
                        <a class="btn btn-primary center-block" onclick="btn_Excel()"> <span class="glyphicon glyphicon-download"></span>&nbsp导出</a>

                    </div>
                    <div style="margin-top:5px;">
                        <table id="gridList10"></table>
                        <div id="gridPager10"></div>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>














